<?php

namespace console\controllers;

use services\models\SyncStock;

/**
 * @abstract 商品计划任务
 * @author huipeng.teng@liketry.com
 * */
class GoodsController extends \yii\console\Controller {
    /**
     * 定时同步喜试优选的SKU库存到有试吗数据库
     * */
    public function actionSyncStock() {
        SyncStock::sync();
    }
}